package com.ruoyi.business.service;

import java.util.List;
import org.springframework.data.domain.Page;
import com.ruoyi.business.domain.CustomerAddress;

/**
 * customer_addressService接口
 *
 * @author liutietou
 * @since 1.0 2025-07-19
 */
public interface ICustomerAddressService  {
    /**
     * 查询customer_address
     *
     * @param id customer_addressID
     * @return customer_address
     */
    CustomerAddress findById(Integer id);

    /**
     * 分页查询customer_address列表
     *
     * @param req customer_address
     * @return customer_address集合
     */
    Page<CustomerAddress> findCustomerAddressPage(CustomerAddress req);

    /**
     * 查询customer_address列表
     *
     * @param req customer_address
     * @return customer_address集合
     */
    List<CustomerAddress> findCustomerAddressList(CustomerAddress req);

    /**
     * 新增customer_address
     *
     * @param customerAddress customer_address
     * @return 结果
     */
    void save(CustomerAddress customerAddress);

    /**
     * 批量删除customer_address
     *
     * @param ids 需要删除的customer_addressID
     * @return 结果
     */
    void deleteByIds(List<Integer> ids);

    /**
     * 删除customer_address信息
     *
     * @param id customer_addressID
     * @return 结果
     */
    void deleteCustomerAddressById(Integer id);
}
